console.log(Math.max.apply(null, [1, 2, 3, 4, 5]));

console.log(Math.max(1, 2, 3, 4, 5));
